/* eslint no-param-reassign: "off" */
import Vue from 'vue';
import Vuex from 'vuex';

Vue.use(Vuex);

export default new Vuex.Store({
    state: {
        // 错误页面样式：minimal、illustrated
        errorsType: 'minimal',
        // ThingJS 加载完成
        appLoaded: false,
    },
    mutations: {
        appLoaded(state) {
            state.appLoaded = true;
        },
    },
    actions: {

    },
});
